package com.yp.infrastructure.axon.constants;

import com.yp.infrastructure.common.exception.IErrorMessage;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;


@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum EnumErrorMessage implements IErrorMessage {
    AXON_ERROR (5, "axon.error", ""),
    AXON_QUERY_ERROR(6,  "axon.query.error", ""),
    AGGREATE_NOT_FOUND(7, "axon.aggregate.not.found", "")
    ;
    private int code;
    private String i18n;
    private String msg;

}
